package pine.web.dao;

import javax.annotation.Resource;

import org.hibernate.SessionFactory;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

/**
 * Hibernate支持类，系统类所有需要调用Hibernate进行操作的类都需要继承此类
 * @author GONGM
 * @version 1.0
 */
public abstract class AbstractHibernateDaoSupport extends HibernateDaoSupport {

	@Resource(name="sessionFactory")
    public void setSuperSessionFactory(SessionFactory sessionFactory){
        super.setSessionFactory(sessionFactory);
    }
}
